package io.github.lee.plugin.depend.impl

import io.github.lee.plugin.depend.Versions
import io.github.lee.plugin.depend.handler.IHandlerDepend
import io.github.lee.plugin.depend.handler.implementation
import org.gradle.api.artifacts.dsl.DependencyHandler

object Paging : IHandlerDepend {
    private const val paging = "androidx.paging:paging-runtime:${Versions.paging}"
    private const val pagingCompose = "androidx.paging:paging-compose:${Versions.pagingCompose}"
    override fun handler(handler: DependencyHandler) {
        handler.implementation(paging)
        // optional - Jetpack Compose integration
        handler.implementation(pagingCompose)

    }

}